package br.com.salaodebeleza.business;

import java.util.Date;
import java.util.List;

import br.com.salaodebeleza.persistence.TbRelatorioDiarioDAO;
import br.gov.frameworkdemoiselle.stereotype.BusinessController;
import br.gov.frameworkdemoiselle.template.DelegateCrud;

@BusinessController
public class TbRelatorioDiarioBC extends
		DelegateCrud<Object, Long, TbRelatorioDiarioDAO> {

	private static final long serialVersionUID = 1L;

	private List<String> columns;
	
	
	public List<String> getColumns() {
		return columns;
	}


	public void setColumns(List<String> columns) {
		this.columns = columns;
	}


	public List<Object> findByMenuJPQL(Date dtInicio, Date dtFim) {
		
		TbRelatorioDiarioDAO relatorio = new TbRelatorioDiarioDAO();
		
		return relatorio.findByMenuJPQL(dtInicio, dtFim);
	}
}
